package per.hnvcam.searchext.text.impl;

import per.hnvcam.searchext.text.SentenceHandler;
import per.hnvcam.searchext.text.token.Tokenizer;

/**
 * Created by IntelliJ IDEA.
 * User: violon
 * Date: 4/24/11
 * Time: 9:37 PM
 * To change this template use File | Settings | File Templates.
 */
public class DefaultSentenceHandlerImpl implements SentenceHandler {
   private String location;

   private Tokenizer tokenizer;

   public void handleSentence(String sentence) {
      tokenizer.lex(sentence);
   }

   public void setLocation(String location) {
      this.location = location;
   }

   public String getLocation() {
      return this.location;
   }

   public void setTokenizer(Tokenizer tokenizer) {
      this.tokenizer = tokenizer;
   }
}
